export const useSse = (href: string | URL) => {
  const eventSource = new EventSource(href)
    
  eventSource.onmessage = (event) => {
    console.log(event.data)
  }
}
